<template>
  <div>
    <h3>我是一个子组件 -- {{ title }}</h3>
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: "aaaa",
    };
  },
  methods:{
    fn(){
      console.log('fn--child1');
    }
  }
};
</script>

<style lang="scss" scoped>
</style>